<template>
  <span>
    <el-button type="primary" size="mini" style="float:right;margin-bottom:5px;margin-left:0px;" icon="el-icon-edit" round @click="doClearSelection">取消选择</el-button>
  </span>
</template>
<script>
export default {
  props: {
    parent: {
      type: Object,
      default: null
    }
  },
  methods: {
    // 清空选择项
    doClearSelection() {
      this.parent.$refs.dataGrid.doClearSelection()
    }
  }
}
</script>
